<!--Display all users, freetime and event times associated with this event-->
<%= stylesheet_link_tag "form.css"%>

<form>
<fieldset style="width:600px;">
	<legend style="font-weight:bold; border: 1px solid; background:white;">Event Created!</legend>
	<div class="row">
      <span class="label">Event Name: </span>
	  <span	class="formw">
	  	<%= @event[:name] %>
	  </span>
    </div>
	
	<div class="row">
      <span class="label">Event Description: </span>
	  <span	class="formw">
	  	<%= @event[:description] %>
	  </span>
    </div>
	
	<div class="row">
      <span class="label">Event Duration: </span>
	  <span	class="formw">
	  	<%= @event[:duration] %>
	  </span>
    </div>
	
	<div class="row">
      <span class="label">Event Participants: </span>
	  <span	class="formw">
	  	<ul>
			<% @users.collect! {|u| u.login} %>
			<% @users.sort! %>
			<% @users.each do |user|%>
				<li class='user'><%= user %></li>
			<% end %>
		</ul>
	  </span>
    </div>
	
	<li><%= link_to 'Go to your event page!', :action => "show", :id => @event.id %></li>
	
</fieldset>
</form>	